<template>
	<view class="handbook-page">
		<u-parse :html="detail.content"></u-parse>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				detail: {}
			};
		},
		onLoad() {
			this.getDetail()
		},
		methods: {
			getDetail() {
				uni.showLoading({
					title: '加载中...',
					mask: true
				})

				this.$u.post('/articledetail').then(res => {
					this.detail = res
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.handbook-page {
		padding: 30rpx;
		background-color: white;
	}
</style>
